package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName chargeModelBatteryInfoMsg
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeModelBatteryInfoMsg0x3A {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    // 充电枪数量
    public static String chargeGunNum;

    // 充电类型
    public static String chargeType;

    public static String chargeState;
    public static String batteryBMSCode;
    public static String batteryTotalVoltage;
    public static String batteryCurrent;
    public static String highOneVoltage;
    public static String lowOneVoltage;
    public static String highTemperature;
    public static String lowTemperature;
    public static String highOneVoltagePosi;
    public static String lowOneVoltagePosi;
    public static String highTemperaturePosi;
    public static String lowTemperaturePosi;
    public static String SOH;
    public static String SOC;
    public static String chargeWorkState;
    public static String BMSChargingTime;


    @Value("${message.chargeModelBatteryInfoMsg.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeModelBatteryInfoMsg0x3A.versionDomain = versionDomain;
    }

    @Value("${message.chargeModelBatteryInfoMsg.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeModelBatteryInfoMsg0x3A.serialNumberDomain = serialNumberDomain;
    }

    @Value("${message.chargeModelBatteryInfoMsg.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeModelBatteryInfoMsg0x3A.commandCode = commandCode;
    }

    @Value("${message.chargeModelBatteryInfoMsg.user-id}")
    public void setUserId(String userId) {
        ChargeModelBatteryInfoMsg0x3A.userId = userId;
    }

    @Value("${message.chargeModelBatteryInfoMsg.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeModelBatteryInfoMsg0x3A.instructionsNumber = instructionsNumber;
    }

    @Value("${message.chargeModelBatteryInfoMsg.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargeModelBatteryInfoMsg0x3A.chargeGunNum = chargeGunNum;
    }

    @Value("${message.chargeModelBatteryInfoMsg.charge-type}")
    public void setChargeType(String chargeType) {
        ChargeModelBatteryInfoMsg0x3A.chargeType = chargeType;
    }

    @Value("${message.chargeModelBatteryInfoMsg.charge-state}")
    public void setChargeState(String chargeState) {
        ChargeModelBatteryInfoMsg0x3A.chargeState = chargeState;
    }

    @Value("${message.chargeModelBatteryInfoMsg.battery-BMS-code}")
    public void setBatteryBMSCode(String batteryBMSCode) {
        ChargeModelBatteryInfoMsg0x3A.batteryBMSCode = batteryBMSCode;
    }

    @Value("${message.chargeModelBatteryInfoMsg.battery-total-voltage}")
    public void setBatteryTotalVoltage(String batteryTotalVoltage) {
        ChargeModelBatteryInfoMsg0x3A.batteryTotalVoltage = batteryTotalVoltage;
    }

    @Value("${message.chargeModelBatteryInfoMsg.battery-current}")
    public void setBatteryCurrent(String batteryCurrent) {
        ChargeModelBatteryInfoMsg0x3A.batteryCurrent = batteryCurrent;
    }

    @Value("${message.chargeModelBatteryInfoMsg.high-one-voltage}")
    public void setHighOneVoltage(String highOneVoltage) {
        ChargeModelBatteryInfoMsg0x3A.highOneVoltage = highOneVoltage;
    }

    @Value("${message.chargeModelBatteryInfoMsg.low-one-voltage}")
    public void setLowOneVoltage(String lowOneVoltage) {
        ChargeModelBatteryInfoMsg0x3A.lowOneVoltage = lowOneVoltage;
    }

    @Value("${message.chargeModelBatteryInfoMsg.high-temperature}")
    public void setHighTemperature(String highTemperature) {
        ChargeModelBatteryInfoMsg0x3A.highTemperature = highTemperature;
    }

    @Value("${message.chargeModelBatteryInfoMsg.low-temperature}")
    public void setLowTemperature(String lowTemperature) {
        ChargeModelBatteryInfoMsg0x3A.lowTemperature = lowTemperature;
    }

    @Value("${message.chargeModelBatteryInfoMsg.high-one-ooltage-posi}")
    public void setHighOneVoltagePosi(String highOneVoltagePosi) {
        ChargeModelBatteryInfoMsg0x3A.highOneVoltagePosi = highOneVoltagePosi;
    }

    @Value("${message.chargeModelBatteryInfoMsg.low-one-voltage-posi}")
    public void setLowOneVoltagePosi(String lowOneVoltagePosi) {
        ChargeModelBatteryInfoMsg0x3A.lowOneVoltagePosi = lowOneVoltagePosi;
    }

    @Value("${message.chargeModelBatteryInfoMsg.high-temperature-posi}")
    public void setHighTemperaturePosi(String highTemperaturePosi) {
        ChargeModelBatteryInfoMsg0x3A.highTemperaturePosi = highTemperaturePosi;
    }

    @Value("${message.chargeModelBatteryInfoMsg.low-temperature-posi}")
    public void setLowTemperaturePosi(String lowTemperaturePosi) {
        ChargeModelBatteryInfoMsg0x3A.lowTemperaturePosi = lowTemperaturePosi;
    }

    @Value("${message.chargeModelBatteryInfoMsg.SOH}")
    public void setSOH(String SOH) {
        ChargeModelBatteryInfoMsg0x3A.SOH = SOH;
    }

    @Value("${message.chargeModelBatteryInfoMsg.SOC}")
    public void setSOC(String SOC) {
        ChargeModelBatteryInfoMsg0x3A.SOC = SOC;
    }

    @Value("${message.chargeModelBatteryInfoMsg.charge-work-state}")
    public void setChargeWorkState(String chargeWorkState) {
        ChargeModelBatteryInfoMsg0x3A.chargeWorkState = chargeWorkState;
    }

    @Value("${message.chargeModelBatteryInfoMsg.BMS-charging-time}")
    public void setBMSChargingTime(String BMSChargingTime) {
        ChargeModelBatteryInfoMsg0x3A.BMSChargingTime = BMSChargingTime;
    }
}
